//
//  CJCustomsheet.h
//  sheetCJ
//
//  Created by wy on 17/1/20.
//  Copyright © 2017年 wy. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CJCustomsheetDelegate <NSObject>

-(void)clickButton:(NSUInteger)buttonTag;

@end
@interface CJCustomsheet : UIView
@property(nonatomic,weak) id<CJCustomsheetDelegate>delegate;
/**
 *  按钮的block
 */
@property (nonatomic, copy)void(^tapBtnClickBlock)(NSUInteger tag);

-(CJCustomsheet *)initwithButtons:(NSArray *)allButtons;
@end
